import {Button, Text} from 'react-native';

function DetailScreen({navigation}) {
  return (
    <Text
      onPress={() =>
        navigation.navigate('购物页', {
          url: 'https://www.baidu.com',
        })
      }>
      Details Screen
    </Text>
  );
}

export default DetailScreen;
